package cn.edu.scut.sys.service;

import java.util.List;

import cn.edu.scut.sys.utils.DataRequest;
import cn.edu.scut.sys.utils.DataResponse;
import cn.edu.scut.sys.vo.Department;

public interface DepartmentService {

	public DataResponse<Department> list(DataRequest request);
	
	public boolean add(Department department);
	
	public Department getDepartment(String id);
	
	public boolean updateDepartment(Department department);
	
	public boolean delDepartment(int id);
	
	public List<Department> listAll();
}
